package itsm.isperp.module.entity.bpm.act;

import itsm.isperp.framework.domain.IBean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 实体
 * 
 * @author lizx
 * @date 2015-05-05 17:02
 */
@Entity
@Table(name = "act_hi_procinst")
public class ActHiProcinst implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//
	@Column
	protected String businessKey;

	//
	@Column
	protected String deleteReason;

	//
	@Column
	protected int duration;

	//
	@Column
	protected String endActId;

	//
	@Column
	protected Date endTime;

	//
	@Id
	protected String id;

	//
	@Column
	protected String name;

	//
	@Column
	protected String procDefId;

	//
	@Column
	protected String procInstId;

	//
	@Column
	protected String startActId;

	//
	@Column
	protected Date startTime;

	//
	@Column
	protected String startUserId;

	//
	@Column
	protected String superProcessInstanceId;

	//
	@Column
	protected String tenantId;

	public String getBusinessKey() {
		return businessKey;
	}

	public void setBusinessKey(String businessKey) {
		this.businessKey = businessKey;
	}

	public String getDeleteReason() {
		return deleteReason;
	}

	public void setDeleteReason(String deleteReason) {
		this.deleteReason = deleteReason;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public String getEndActId() {
		return endActId;
	}

	public void setEndActId(String endActId) {
		this.endActId = endActId;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProcDefId() {
		return procDefId;
	}

	public void setProcDefId(String procDefId) {
		this.procDefId = procDefId;
	}

	public String getProcInstId() {
		return procInstId;
	}

	public void setProcInstId(String procInstId) {
		this.procInstId = procInstId;
	}

	public String getStartActId() {
		return startActId;
	}

	public void setStartActId(String startActId) {
		this.startActId = startActId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getStartUserId() {
		return startUserId;
	}

	public void setStartUserId(String startUserId) {
		this.startUserId = startUserId;
	}

	public String getSuperProcessInstanceId() {
		return superProcessInstanceId;
	}

	public void setSuperProcessInstanceId(String superProcessInstanceId) {
		this.superProcessInstanceId = superProcessInstanceId;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

}
